package com.xuxin.baby.contract;

import com.xuxin.baby.bean.BaseBean;
import com.xuxin.baby.presenter.CollectPresenter;

/**
 * Created by xu_xin
 * Created on 2020/11/4 0004
 * 收藏
 */
public interface CollectContract {

    interface Model {

        void collect(CollectPresenter presenter, String tenantId, String token, String memberId, String courseId);

        void deleteCollect(CollectPresenter presenter, String tenantId, String token, String memberId, String courseId);
    }

    interface View extends BaseContract.view {

        void onCollectSuccess(BaseBean baseBean);

        void onDeleteCollectSuccess(BaseBean baseBean);

    }

    interface Presenter extends BaseContract.presenter {

        void collect(String tenantId, String token, String memberId, String courseId);

        void deleteCollect(String tenantId, String token, String memberId, String courseId);

        void onCollectSuccess(BaseBean baseBean);

        void onDeleteCollectSuccess(BaseBean baseBean);
    }
}